package com.njxxted.activiti.modules.process.extend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njxxted.activiti.modules.base.entity.BaseReqEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：流程催办实体类
 * <p>
 * 作者：Ostrich Hu
 * 时间：2019/11/25 16:53 星期一
 */
@Data
public class ExtendActUrgentEntity implements Serializable {

    private static final long serialVersionUID = -8328623257573609625L;

    //主键id
    private String id;

    //流程实例id
    private String instanceId;

    //流程任务节点id
    private String nodeId;

    //发送方式（1应用内 0短信）
    private int sendType;

    //接收人
    private String receiver;

    //发送的信息
    private String sendMsg;

    //催办时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date urgentTime;

    //催办次数
    private int urgentCount;

    //催办人
    private String urgentUser;

}
